* lisp/htmlfontify.el: Make it obey the font-lock-face text property.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 27 Jan 2011 17:04:07 +0000 (12:04 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 27 Jan 2011 17:04:07 +0000 (12:04 -0500)
commit84d397f3a81feca8d3b801288c0bef5cc6e01a2a
treeea1c73424fb990f13c7551a507a2a7e831f0dde6
parent63ee3514cd07f3b552e10fe39268760dd0fea70c
* lisp/htmlfontify.el: Make it obey the font-lock-face text property.
Miscellaneous cleanup such as:
- Don't hide expressions after a closing paren.
- Move initial setq into let.
- Hoist common parts out of ifs.
(hfy-p-to-face, hfy-p-to-face-lennart): Remove.
(hfy-face-at): Use get-text-property instead.
(hfy-prop-invisible-p): Use invisible-p if available.
(htmlfontify-manual): Use \\[...].
(hfy-html-quote-regex): Use [...].
(hfy-combined-face-spec): Simplify.
(hfy-compile-face-map): Don't presume point-min==1.
(hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
match end of string.
(hfy-text-p): η-reduce.
(hfy-tags-for-file): Receive cache-hash directly.
(hfy-mark-tag-names): Adjust call.
lisp/ChangeLog
lisp/htmlfontify.el